﻿@model List<Apps.Models.V_RC_SAMPLING>
@using Apps.Web.Core;
@using Apps.Common;
@using Apps.Locale;
@using Apps.Models.Sys;
@using Apps.Models;
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
    List<permModel> perm = null;
}

<style type="text/css">
    table.gridtable {
        font-family: verdana,arial,sans-serif;
        font-size: 11px;
        color: #333333;
        border-width: 1px;
        border-color: #666666;
        border-collapse: collapse;
    }

        table.gridtable th {
            border-width: 1px;
            text-align: center;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #dedede;
        }

        table.gridtable td {
            text-align: center;
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #ffffff;
        }
</style>

@using (Html.BeginForm())
{
    int i = 1;
    if (Model == null)
    {
        <span>没有原始数据</span>
    }
    else
    {
        <table class="gridtable">
            <thead>
                <tr>
                    <th style="width:60px">
                        序号
                    </th>
                    <th style="width:100px">
                        车牌号
                    </th>
                </tr>
            </thead>
            <tbody>

                foreach (var item in Model)
                {
                <tr>
                    <td style="width:60px">
                        @(i)
                    </td>
                    <td style="width:100px">
                        @item.LPR
                    </td>
                </tr>
                i++;
                }

            </tbody>
        </table>
    }
    @Html.ValidationSummary()
}
